﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class HoaDonMonAnBUS
    {
        public static bool Insert(HoaDonKhachHangDTO hd)
        {
            try
            {
                return HoaDonMonAnDAO.Insert(hd);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static int Search_ID(int makh, string nglap, string trgia)
        {
            try
            {
                return HoaDonMonAnDAO.Search_ID(makh, nglap, trgia);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
